package cn.walls1717.wallsmall.ware.exception;

/**
 * 库存不足异常
 *
 * @author walls1717
 * @since 2022/11/20 23:32
 **/
public class NoStockException extends RuntimeException {
    private Long skuId;

    public NoStockException(Long skuId) {
        super(skuId + "库存不足");
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }
}
